from django.contrib.auth.models import AbstractUser
from django.db import models

# Create your models here.


class User(AbstractUser):
    """ 用户信息表
    """
    company = models.ForeignKey('company.Company',on_delete=models.CASCADE,related_name='user',verbose_name='公司')

    class Meta:
        db_table = 'django_user'
        verbose_name = "用户"
        verbose_name_plural = verbose_name
